﻿define(['plugins/router','durandal/app','dto/dto'], function (router,app,dto) {
    return {
        router: router,
        activate: function () {
        	app.dto = dto;
            return router.map([
                { route: ['', 'home'], moduleId: 'createEvent/index', title: 'Create Event', nav: true }
            
            ]).buildNavigationModel()
              .mapUnknownRoutes('NoRoute/index', 'not-found')
              .activate();
        }
    };
});

//createEvent


